home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 5284 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  940 b 

  1. Path: maverick.tad.eds.com!news-admin@tad.eds.com
  2. From: Erick Wagner <wagnere@netcom.com>
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Data Conversions
  5. Date: 9 Feb 1996 16:53:21 GMT
  6. Organization: PRC
  7. Message-ID: <4ffu61$eo3@maverick.tad.eds.com>
  8. References: <4fbfqp$fsk@madeline.INS.CWRU.Edu>
  9. NNTP-Posting-Host: 148.94.8.235
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 1.22 (Windows; I; 16bit)
  14.  
  15. mab22@po.CWRU.Edu (Michael A. Balfour) wrote:
  16. >Are there any pre-existing routines to do data conversions?
  17.  
  18. If numeric data is being exchanged between different platforms,
  19. wouldn't it be advisable to transfer the values as text characters
  20. (0-9, x'30'-x'39' in ASCII and x'F0'-x'F9' in EBCDIC)?
  21.  
  22. It seems that if you have some control over the programs being used on
  23. either end then each of these could directly deal with the native data
  24. types and convert to a universal format.
  25.  
  26. Erick
  27.  
  28.